package com.limbo.showapp.model;

import com.limbo.showapp.base.BaseModel;
import com.limbo.showapp.constant.AppConstant;
import com.limbo.showapp.rxHttp.download.DownloadListener;
import com.limbo.showapp.rxHttp.download.DownloadManager;

/**
 * Created by wangqi on 2018/9/7.
 */

public class DownloadModel extends BaseModel {

    public void down(String url,String filePath,DownloadListener listener){
        new DownloadManager(AppConstant.Url.BASE_URL, listener).download(url,filePath);
    }
}
